package com.wwj.my_ummary.nodes.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import java.io.Serializable;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author wwj
 * @since 2021-02-05
 */
@Data
@TableName("nodes")
@ApiModel(value="Nodes对象", description="")
public class Nodes implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("name")
    private String name;

    @TableField("url")
    private String url;

    @TableField("weight")
    private Integer weight;

    @TableField("parentId")
    private Integer parentid;


    public static final String ID = "id";

    public static final String NAME = "name";

    public static final String URL = "url";

    public static final String WEIGHT = "weight";

    public static final String PARENTID = "parentId";

}